package com.weng.platform.guest.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.weng.framework.dao.mybatis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;


/**
 * 生活记录实体Bean
 *
 * @author weng
 * @date 2021-06-03 23:37:38
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("time_record")
public class TimeRecord extends BaseEntity<TimeRecord> {

    private static final long serialVersionUID = 1L;
	
	
	/**
     * Id
     */
	 @TableField(value="id")
	private String id;
	
	
	/**
     * 访客Id
     */
	 @TableField(value="visitor_id")
	private String visitorId;
	
	
	/**
     * 资源Id
     */
	 @TableField(value="tag_name")
	private String tagName;


	/**
	 * 标签编码
	 */
	@TableField(value="tag_code")
	private String tagCode;

	/**
	 * 日期-天
	 */
	@TableField(value="day_str")
	private String dayStr;

	/**
     * 创建时间
     */
	 @TableField(value="create_time",fill = FieldFill.INSERT)
	private Date createTime;
	
	
	/**
     * 修改时间
     */
	 @TableField(value="update_time",fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;
	
	
}
